//
//  CNBBSReplyListViewModel.h
//  CsdnPlus
//
//  Created by 孟瑞瑞 on 2018/7/19.
//  Copyright © 2018年 CSDN. All rights reserved.
//

#import "BaseViewModel.h"
#import "CNBBSNetManager.h"

@interface CNBBSReplyListViewModel : BaseViewModel

/** 返回个数 */
@property (nonatomic)NSInteger rowNumber;

@property (nonatomic,assign) NSInteger code;

@property (nonatomic,strong) NSString *message;

/**
 *  判断是否是最大页数
 *
 *
 */
- (BOOL)isHasMore;

@property (nonatomic, assign) NSInteger page;

/** 正文 */
-(NSString *)bodyForRow:(NSInteger)row;

/** 赞数 */
-(NSString *)diggForRow:(NSInteger)row;

/** 赞数 */
-(void)setDigg:(NSString*)digg ForRow:(NSInteger)row;

/** 层数 */
-(NSString *)floorForRow:(NSInteger)row;

/** 时间 */
-(NSString *)createdAtForRow:(NSInteger)row;

/** 昵称 */
-(NSString *)nickNameForRow:(NSInteger)row;

/**  */
-(NSString *)pointForRow:(NSInteger)row;

/**  */
-(NSString *)postIdRow:(NSInteger)row;

/** 用户名 */
-(NSString *)userNameForRow:(NSInteger)row;

/** 头像 */
-(NSString *)avatarForRow:(NSInteger)row;

/**  */
-(NSString *)userIdForRow:(NSInteger)row;

/**是否赞  */
-(BOOL)isDiggedForRow:(NSInteger)row;

/**是否赞  */
-(void)setIsDigged:(BOOL)isDigged ForRow:(NSInteger)row;

-(void)refreshBBSReplyListDataWithTocipId:(NSString *)tocipId IsInverted:(BOOL)isInverted CompletionHandle:(CompletionHandle)completionHandle;

- (void)getMoreBBSReplyListDataWithTocipId:(NSString *)tocipId IsInverted:(BOOL)isInverted CompletionHandle:(CompletionHandle)completionHandle;

@end
